<?php


namespace app\index\model;
use think\Model;
class Person extends Model
{
    protected $table ='think_person';
    protected $type = [
        // 设置birthday为时间戳类型
        'birthday' => 'datetime:Y/m/d',
    ];
    protected $insert=[
        'age' => 20,
        'sex' => '男'
    ];
}